[INFO] cloning repository https://github.com/jthornber/lvm-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jthornber/lvm-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjthornber%2Flvm-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjthornber%2Flvm-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4084c73fbcfea9d4844171da65f25abaef331c64
[INFO] checking jthornber/lvm-rust against master#98e1f041b6e33598a18edb928ec9db93a850c6cb for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjthornber%2Flvm-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jthornber/lvm-rust on toolchain 98e1f041b6e33598a18edb928ec9db93a850c6cb
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jthornber/lvm-rust
[INFO] finished tweaking git repo https://github.com/jthornber/lvm-rust
[INFO] tweaked toml for git repo https://github.com/jthornber/lvm-rust written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/jthornber/lvm-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded yaml-rust v0.3.4
[INFO] [stderr]   Downloaded clap v2.18.0
[INFO] [stderr]   Downloaded nix v0.7.0
[INFO] [stderr]   Downloaded clippy_lints v0.0.100
[INFO] [stderr]   Downloaded clippy v0.0.100
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 15949d3ecc1585052a603854c7e9c1d79af8113cab746fe685db642bd02bb691
[INFO] running `Command { std: "docker" "start" "-a" "15949d3ecc1585052a603854c7e9c1d79af8113cab746fe685db642bd02bb691", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "15949d3ecc1585052a603854c7e9c1d79af8113cab746fe685db642bd02bb691", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15949d3ecc1585052a603854c7e9c1d79af8113cab746fe685db642bd02bb691", kill_on_drop: false }`
[INFO] [stdout] 15949d3ecc1585052a603854c7e9c1d79af8113cab746fe685db642bd02bb691
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+98e1f041b6e33598a18edb928ec9db93a850c6cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aec8d4f9550fa5398b87667af2a454e6abc2cba0fc7e371a44504fafbd4e2121
[INFO] running `Command { std: "docker" "start" "-a" "aec8d4f9550fa5398b87667af2a454e6abc2cba0fc7e371a44504fafbd4e2121", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.17
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]     Checking log v0.3.6
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking ansi_term v0.9.0
[INFO] [stderr]     Checking vec_map v0.6.0
[INFO] [stderr]     Checking yaml-rust v0.3.4
[INFO] [stderr]     Checking unicode-segmentation v0.1.2
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking unicode-width v0.1.3
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking strsim v0.5.1
[INFO] [stderr]     Checking cfg-if v0.1.0
[INFO] [stderr]     Checking nom v1.2.4
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking term_size v0.2.1
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking clap v2.18.0
[INFO] [stderr]    Compiling nix v0.7.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking env_logger v0.3.5
[INFO] [stderr]     Checking lvm-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:77:1
[INFO] [stdout]     |
[INFO] [stdout] 77  | / bitflags!(
[INFO] [stdout] 78  | |     /// Flags used by devicemapper.
[INFO] [stdout] 79  | |     flags DmFlags: u32 {
[INFO] [stdout] 80  | |         /// In: Device should be read-only.
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |     }
[INFO] [stdout] 118 | | );
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:77:1
[INFO] [stdout]     |
[INFO] [stdout] 77  | / bitflags!(
[INFO] [stdout] 78  | |     /// Flags used by devicemapper.
[INFO] [stdout] 79  | |     flags DmFlags: u32 {
[INFO] [stdout] 80  | |         /// In: Device should be read-only.
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |     }
[INFO] [stdout] 118 | | );
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:381:36
[INFO] [stdout]     |
[INFO] [stdout] 381 |         Ok(DMIoctl { control_file: try!(File::open(&path)) })
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:409:9
[INFO] [stdout]     |
[INFO] [stdout] 409 |         try!(self.exec(cmd, IoctlBuffer::new(0)));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:417:9
[INFO] [stdout]     |
[INFO] [stdout] 417 |         try!(self.exec(cmd, buf));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:434:19
[INFO] [stdout]     |
[INFO] [stdout] 434 |         let buf = try!(self.exec(IoctlCode::DmVersion, IoctlBuffer::new(0)));
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:444:19
[INFO] [stdout]     |
[INFO] [stdout] 444 |         let buf = try!(self.exec(IoctlCode::DmListDevices,
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:500:9
[INFO] [stdout]     |
[INFO] [stdout] 500 |         try!(self.exec(IoctlCode::DmDevSuspend, buf));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/utils.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let f = try!(File::open("/proc/devices"));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     try!(dm.create(&id));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     try!(dm.load(&id, &table.to_dm_targets()));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     try!(dm.resume(&id));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     try!(dm.remove(&id));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let output = try!(Command::new("ls")
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/device_mapper/high_level.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     targets: Vec<Box<Target + 'a>>
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 -     targets: Vec<Box<Target + 'a>>
[INFO] [stdout] 13 +     targets: Vec<Box<dyn Target + 'a>>
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:54:63
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn scenario_basic_overwrite_linear(cfg: &TestConfig, dm: &mut DMInterface) -> io::Result<()> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 - fn scenario_basic_overwrite_linear(cfg: &TestConfig, dm: &mut DMInterface) -> io::Result<()> {
[INFO] [stdout] 54 + fn scenario_basic_overwrite_linear(cfg: &TestConfig, dm: &mut dyn DMInterface) -> io::Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/device_mapper/utils.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn parse_majors(reader: &mut std::io::BufRead) -> Option<Vec<u32>> {
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 - fn parse_majors(reader: &mut std::io::BufRead) -> Option<Vec<u32>> {
[INFO] [stdout] 9 + fn parse_majors(reader: &mut dyn std::io::BufRead) -> Option<Vec<u32>> {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:77:1
[INFO] [stdout]     |
[INFO] [stdout] 77  | / bitflags!(
[INFO] [stdout] 78  | |     /// Flags used by devicemapper.
[INFO] [stdout] 79  | |     flags DmFlags: u32 {
[INFO] [stdout] 80  | |         /// In: Device should be read-only.
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |     }
[INFO] [stdout] 118 | | );
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:77:1
[INFO] [stdout]     |
[INFO] [stdout] 77  | / bitflags!(
[INFO] [stdout] 78  | |     /// Flags used by devicemapper.
[INFO] [stdout] 79  | |     flags DmFlags: u32 {
[INFO] [stdout] 80  | |         /// In: Device should be read-only.
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |     }
[INFO] [stdout] 118 | | );
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:381:36
[INFO] [stdout]     |
[INFO] [stdout] 381 |         Ok(DMIoctl { control_file: try!(File::open(&path)) })
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:409:9
[INFO] [stdout]     |
[INFO] [stdout] 409 |         try!(self.exec(cmd, IoctlBuffer::new(0)));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:417:9
[INFO] [stdout]     |
[INFO] [stdout] 417 |         try!(self.exec(cmd, buf));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:434:19
[INFO] [stdout]     |
[INFO] [stdout] 434 |         let buf = try!(self.exec(IoctlCode::DmVersion, IoctlBuffer::new(0)));
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:444:19
[INFO] [stdout]     |
[INFO] [stdout] 444 |         let buf = try!(self.exec(IoctlCode::DmListDevices,
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/low_level.rs:500:9
[INFO] [stdout]     |
[INFO] [stdout] 500 |         try!(self.exec(IoctlCode::DmDevSuspend, buf));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/device_mapper/utils.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let f = try!(File::open("/proc/devices"));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     try!(dm.create(&id));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     try!(dm.load(&id, &table.to_dm_targets()));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     try!(dm.resume(&id));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     try!(dm.remove(&id));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let output = try!(Command::new("ls")
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/device_mapper/high_level.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     targets: Vec<Box<Target + 'a>>
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 -     targets: Vec<Box<Target + 'a>>
[INFO] [stdout] 13 +     targets: Vec<Box<dyn Target + 'a>>
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:54:63
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn scenario_basic_overwrite_linear(cfg: &TestConfig, dm: &mut DMInterface) -> io::Result<()> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 - fn scenario_basic_overwrite_linear(cfg: &TestConfig, dm: &mut DMInterface) -> io::Result<()> {
[INFO] [stdout] 54 + fn scenario_basic_overwrite_linear(cfg: &TestConfig, dm: &mut dyn DMInterface) -> io::Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/device_mapper/utils.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn parse_majors(reader: &mut std::io::BufRead) -> Option<Vec<u32>> {
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 - fn parse_majors(reader: &mut std::io::BufRead) -> Option<Vec<u32>> {
[INFO] [stdout] 9 + fn parse_majors(reader: &mut dyn std::io::BufRead) -> Option<Vec<u32>> {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/device_mapper/low_level.rs:396:20
[INFO] [stdout]     |
[INFO] [stdout] 396 |                 if header.flags.contains(DM_BUFFER_FULL) {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unaligned_references)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/device_mapper/low_level.rs:499:9
[INFO] [stdout]     |
[INFO] [stdout] 499 |         header.flags.insert(DM_SUSPEND);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/device_mapper/low_level.rs:396:20
[INFO] [stdout]     |
[INFO] [stdout] 396 |                 if header.flags.contains(DM_BUFFER_FULL) {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unaligned_references)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lvm-rust` due to 5 previous errors; 17 warnings emitted
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/device_mapper/low_level.rs:499:9
[INFO] [stdout]     |
[INFO] [stdout] 499 |         header.flags.insert(DM_SUSPEND);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lvm-rust` due to 5 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "aec8d4f9550fa5398b87667af2a454e6abc2cba0fc7e371a44504fafbd4e2121", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aec8d4f9550fa5398b87667af2a454e6abc2cba0fc7e371a44504fafbd4e2121", kill_on_drop: false }`
[INFO] [stdout] aec8d4f9550fa5398b87667af2a454e6abc2cba0fc7e371a44504fafbd4e2121
